package com.uniview.service;

import java.util.List;

import com.uniview.entity.po.ServiceOrderMedia;

public interface ServiceOrdersMediaService {

	/**
	 * 根据工单ID查询关联的媒体
	 * 
	 * @param orderId
	 * @return
	 * @throws Exception
	 */
	public List<ServiceOrderMedia> findMediasByOrderId(Integer orderId) throws Exception;

	/**
	 * 保存
	 * 
	 * @param orderMedia
	 * @return
	 * @throws Exceptio
	 */
	public Integer save(ServiceOrderMedia orderMedia) throws Exception;
}
